package com.wht.controller;

import org.springframework.web.bind.annotation.*;

/**
 * @author wanghaotian
 * time:2022/12/09,0009 10:20
 * description:
 */

@RestController
@RequestMapping("/user")
public class TestController {

    @GetMapping("/{id}")
    public String findById(@PathVariable("id") Integer id){
        System.out.println("findById"+id);
        return "success";
    }
}
